package cn.mycc.qo;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class QueryObject {
    private int currentPage = 1;  //第几页
    private int pageSize = 5;//每页条数

    public int getStart(){
        return (currentPage - 1) * pageSize;
    }
}
